package com.ecjtu.stadiumre_servations.entity.dto.DataAnalysisDTO;

import lombok.Data;

@Data
public class DataTypeDTO {
    //多条记录累加得到的总使用次数
    private Integer totalCount;
    //次数占比
    private Double countRatio;
    //多条记录累加得到的总使用时长
    private Long totalTime;
    //时间占比
    private Double timeRatio;
    //多条记录累加得到的总利润
    private Double totalProfit;
    //利润占比
    private Double profitRatio;

    public DataTypeDTO() {
        this.totalCount = 0;
        this.totalTime = 0L;
        this.totalProfit = 0D;
    }
}
